<?php
/**
 * Created by PhpStorm.
 * @auth:Eddy
 * @527084800@qq.com
 * Date: 18-4-11
 */

namespace app\common\lib;


class Util
{

    /**
     * 展示给前端的show方法
     * @param $status       状态
     * @param string $message  提示信息
     * @param array $data   返回数据
     * @auth:Eddy
     *  @527084800@qq.com
     */
    public static function show($status, $message="", $data=[]){

        echo json_encode(['status' => $status,'message' => $message,'data' => $data]);
    }
}